// 自定义类名

/* 
  禁止用户长按文本被选中
*/
.user-select-none {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*
  浮动处理
 */
.clear-fix {
  zoom: 1;
}
.clear-fix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clear-fix__fl,
.fl {
  float: left;
}
.clear-fix__fr,
.fr {
  float: right;
}
.w100 {
  display: block;
  width: 100%;
}
/*
  flex布局
  aic 为align-items:center;
 */
.mui-flex,
.mui-flex *,
.mui-flex:after,
.mui-flex:before {
  box-sizing: border-box;
}
.mui-flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.mui-flex__asfs {
  align-self: flex-start;
}
.mui-flex__cell {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 0;
  -webkit-flex-basis: 0;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  max-width: 100%;
  display: block;
  //   padding: 0 !important;
  //   position: relative;
}
.mui-flex__cell.fixed {
  -webkit-box-flex: 0 !important;
  -webkit-flex: none !important;
  -ms-flex: none !important;
  flex: none !important;
  width: auto;
}
.mui-flex.aic {
  align-items: center;
}
.mui-flex.jcfe {
  justify-content: flex-end;
}
.mui-flex.aife {
  align-items: flex-end;
}
.mui-flex.jcc {
  justify-content: center;
}
.mui-flex.jcsb {
  justify-content: space-between;
}
.mui-flex.jcsa {
  justify-content: space-around;
}
.mui-flex.h100 {
  height: 100%;
}
.mui-flex.fdc {
  flex-direction: column;
}
/*一些常规*/
.absmiddle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.tc {
  text-align: center;
}
.tl {
  text-align: left;
}
.tr {
  text-align: right;
}
/* word-wrap */
.bk {
  word-wrap: break-word;
}
/*文本超出省略号显示*/
.txt-ovh {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* margin */
.mlr30 {
  margin-left: 30px;
  margin-right: 30px;
}
.mt30 {
  margin-top: 30px;
}
.ml30 {
  margin-left: 30px;
}
.mr30 {
  margin-right: 30px;
}
.mb30 {
  margin-bottom: 30px;
}

// 边框
.bd {
  border: 1px solid @Bd;
}
.bdb {
  border-bottom: 1px solid @Bd;
}
.bdt {
  border-top: 1px solid @Bd;
}
.bdl {
  border-left: 1px solid @Bd;
}
.bdr {
  border-right: 1px solid @Bd;
}
.bdLighter {
  border: 1px solid @BdLighter;
}
.bdbLighter {
  border-bottom: 1px solid @BdLighter;
}
.bdtLighter {
  border-top: 1px solid @BdLighter;
}
.bdlLighter {
  border-left: 1px solid @BdLighter;
}
.bdrLighter {
  border-right: 1px solid @BdLighter;
}
// 伪元素的边框
.afterbdb {
  position: relative;
  &::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: @Bd;
    content: '';
  }
}
.afterbdt {
  position: relative;
  &::after {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background-color: @Bd;
    content: '';
  }
}
.h100 {
  height: 100%;
}
.search-item {
  margin: 0px 16px 16px 0;
  width: 220px;
}

// Element Ui样式覆盖
.el-table__header thead th {
  background-color: rgb(242, 243, 246) !important;
  color: @PrimaryText;
}
.el-popconfirm__action {
  margin-top: 12px !important;
}
.el-dialog__header {
  //   border-bottom: 1px solid @BdLighter;
}
.el-dialog__footer {
  padding: 16px 20px;
  border-top: 1px solid @BdLighter;
}
.el-button + .el-button {
  //   margin-left: 0;
  //   margin-right: 10px;
}
